<div class="row-fluid">
    <div class="span12">
        <div class="grid simple">
			<div class="grid-body no-border email-body">
				<?php
				/* @var $this RatingtypeController */
				/* @var $model Ratingtype */


				$this->breadcrumbs = array(
					'Ratingtypes' => array('index'),
					'Управление',
				);
				?>

				<?php
				$this->widget('bootstrap.widgets.TbGridView', array(
					'id' => 'ratingtype-grid',
					'dataProvider' => $model->search(),
					'filter' => $model,
					'columns' => array(
						//'ratingTypeid',
						array(
							'name' => 'ratingItem',							
							'filter' => Controller::$ratingItems,
							'value' => 'Controller::$ratingItems[$data->ratingItem]'
						),
//						'ratingItem',
						'ratingTitle',
						'ratingMax',
						array(
							'class' => 'bootstrap.widgets.TbButtonColumn',
						),
					),
				));
				?>
			</div>
        </div>	
    </div>
</div>